﻿<%@ Page Title="Home Page" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true"
    CodeBehind="WsdlAddress.aspx.cs" Inherits="WebApplication1._Default" %>

<asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent">
    <style type="text/css">
        .style1
        {
            width: 100%;
        }
    </style>
</asp:Content>
<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">
    <h2>
        WsdlAddress Testing Page</h2>
    <p>
        <strong>Description:</strong> Searches a given URL&#39;s content for web services described in WSDL 
        (i.e., ending in &quot;.wsdl&quot; or &quot;?wsdl&quot;).</p>
    <p>
        <strong>Service URL:</strong> 
        <a href="http://vlab.asu.edu:21199/Services/WsdlAddress/Service.svc">
        http://vlab.asu.edu:21199/Services/WsdlAddress/Service.svc</a></p>
    <p>
        <strong>WSDL file: </strong>
        <a href="http://vlab.asu.edu:21199/Services/WsdlAddress/Service.svc?wsdl">
        http://vlab.asu.edu:21199/Services/WsdlAddress/Service.svc?wsdl</a></p>
    <p>
        <strong>Method names:</strong></p>
    <table class="style1" border="2">
        <tr>
            <td>
                <strong>Method Name</strong></td>
            <td>
                <strong>Signature</strong></td>
            <td>
                <strong>Return Type</strong></td>
            <td>
                <strong>Parameters</strong></td>
        </tr>
        <tr>
            <td>
                ReturnWsdlAddresses</td>
            <td>
                string[] ReturnWsdlAddresses(string url)</td>
            <td>
                array of strings, each containing a URL for a WSDL resource</td>
            <td>
                a single URL, starting with &quot;http://&quot;</td>
        </tr>
    </table>
    <p>
        <strong>Service Test</strong></p>
    <p>
        Enter a URL below and we&#39;ll find all the WSDL services inside. (Note: must start 
        with &quot;http://&quot; and end with &quot;.wsdl&quot; or &quot;?wsdl&quot;.)</p>
<p>
        <asp:TextBox ID="TextBox1" runat="server" 
            Width="329px">http://bytes.com/topic/net/answers/85283-generic-wsdl-question</asp:TextBox>
        <asp:Button ID="Button1" runat="server" Text="Look!" onclick="Button1_Click" />
    </p>
<p>
        <asp:TextBox ID="TextBox12" runat="server" Height="89px" TextMode="MultiLine" 
            Width="590px"></asp:TextBox>
    </p>

</asp:Content>
